package com.misena.praxispraktik.view.pasantes;

import com.misena.praxispraktik.view.Pasantes;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "pasantesController")
@ViewScoped
public class PasantesController extends AbstractController<Pasantes> implements Serializable {

    @EJB
    private PasantesFacade ejbFacade;

    public PasantesController() {
        super(Pasantes.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
